// 1. 单独放在最前，保证 textarea 的基础样式在 textarea:focus 之前
textarea {
  -webkit-appearance: none;
}

// 2. 其他输入类按钮
input[type="button"],
input[type="submit"],
input[type="search"],
input[type="reset"] {
  -webkit-appearance: none;
}

// 3. reset 基础元素
body,
div,
span,
header,
footer,
nav,
section,
aside,
article,
ul,
dl,
dt,
dd,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
i,
b,
button,
input,
select,
figure,
figcaption {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  text-decoration: none;
  border: none;
  font-family: "Microsoft Yahei", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

// 4. :focus 样式统一放在所有基础选择器之后
body {
  /* 如果需要对 body 本身在正常状态下也做定制，可以写在这里 */
}
body:focus,
div:focus,
span:focus,
header:focus,
footer:focus,
nav:focus,
section:focus,
aside:focus,
article:focus,
ul:focus,
dl:focus,
dt:focus,
dd:focus,
li:focus,
a:focus,
p:focus,
h1:focus,
h2:focus,
h3:focus,
h4:focus,
h5:focus,
h6:focus,
i:focus,
b:focus,
textarea:focus,
button:focus,
input:focus,
select:focus,
figure:focus,
figcaption:focus {
  outline: none;
}

// 5. 全局布局、清除浮动等
html,
body {
  height: 100%;
  width: 100%;
}

.clear:after {
  content: '';
  display: block;
  clear: both;
}

.clear {
  zoom: 1;
}

.back_img {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.margin {
  margin: 0 auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.text_center {
  text-align: center;
}

.text_left {
  text-align: left;
}

.text_right {
  text-align: right;
}

.ver_align {
  vertical-align: middle;
}

// 页面公共样式
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.el-table .odd-row {
  background: #eaefea;
}

.el-table .even-row {
  background: #d9e6f1;
}

.fillcontain {
  height: 100%;
  margin: 0 10px;
}

.fillcontainer {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: absolute;
  text-align: center;
}

.echartsPosition {
  position: relative;
  width: 90%;
  height: 89%;
  margin: 10px auto 50px;
  box-shadow: 0 0 10px #A6E3E9;
  border-radius: 10px;
}
